import request from '@/utils/request'

export const listAllMenu = (params) =>
  request({
    url: 'online/authorization/menu/all',
    params
  })

export const listAllFunctions = (params) =>
  request({
    url: 'online/authorization/menu/functions/all',
    params
  })
